s1 = " ajdajgj ,,ad  "
print(s1)
print(s1.strip())

#字符串的替换
s2 = "你好，我是周杰伦"
print(s2.replace("周杰伦","天才朱序"))

#替换掉空格
s3 = "a b c"
print(s3.replace(" ",""))

#字符串的切割
s4 = "a_b_c_d_e"
print(s4.split("_"))

s5 = "abcdefg_hijklm"
print(s5.split("fg_hi"))